// 公告
import request from '@/common/utils/request'
import {
	serv
} from '@/common/utils/config'


export function getSupplierList(data) {
	return request(serv.sysrest + `/api/sellWellSupplier/getSupplierList`, {
		method: `get`,
		data: data
	})
}


export function getAllSupplierList(data) {
	return request(serv.sysrest + `/api/sellWellSupplier/getAllSupplierList`, {
		method: `get`,
		data: data
	})
}

export function queryShopSetting(data) {
	return request(serv.contract + `/api/shopSettingAudit/queryShopSetting`, {
		method: `get`,
		data: data
	})
}

export function jugdeShopSetting(data) {
	return request(serv.contract + `/api/shopSettingAudit/jugdeShopSetting`, {
		method: `get`,
		data: data
	})
}

export function querySupplierShopSetting(data) {
	return request(serv.contract + `/api/shopSettingAudit/querySupplierShopSetting`, {
		method: `get`,
		data: data
	})
}

export function getAssignInfoBySupplier(data) {
	return request(serv.order + `/api/review/getAssignInfoBySupplier`, {
		method: `get`,
		data: data
	})
}

export function queryByCodeList(data) {
	return request(serv.supplier + `/api/supplier/queryByCodeList`, {
		method: `get`,
		data: data
	})
}